<template>
  <div class="crumber">
    <el-breadcrumb separator="/">
      <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
      <!-- <el-breadcrumb-item :to="{
        path: '/oms/order'
      }">{{ crumber.second }}</el-breadcrumb-item>
      <el-breadcrumb-item>{{ crumber.third }}</el-breadcrumb-item> -->
      <el-breadcrumb-item v-for="item in crumber" :to="{ path: `/${item.path}` }">{{ item.name }}
      </el-breadcrumb-item>
    </el-breadcrumb>

  </div>
</template>
  
<script setup lang='ts'>
import { useAdminState } from '@/store/modules/adminUser'

const useStore = useAdminState()
const crumber = useStore.crumber


</script>
  
<style scoped>
.crumber {
  padding: 18px;
  border-bottom: 1px solid rgb(235, 232, 232);
}
</style>